<?php


namespace app\common\model;


use think\Model;

class UserLog extends Model
{
    public static function saveUserLog($user_id='',$remark){
        \model('userLog')->save([
            'user_id'=>$user_id,
            'remark'=>$remark,
            'ip'=>getIP(),
        ]);
    }
}